package com.beijing.cyou.model;

import lombok.Data;

@Data
public class UserInfo {
	
	private Long userId ;
	
	private String userName ;

	private String userToken ;
	
	private String userEmail ;
	
	private String mailPrefix ;

	private boolean creamFlag = false ;

	public UserInfo() {
		super();
	}
	public UserInfo(Long userId, String userName) {
		this.userName = userName;
		this.userId = userId;
	}

	@Override
	public String toString() {
		return "UserInfo [id=" + userId + ", name=" + userName + 
				", token=" + userToken + ", mail=" + mailPrefix + "]";
	}

	

}
